import random

class RandomInt:
    nums = 10
    start_num = 0
    stop_num = 1000

    # def __init__(self,start_num, stop_num, nums):
    #     self.start_num = start_num
    #     self.stop_num = stop_num
    #     self.nums = nums

    @classmethod
    def randints(self):
        lstints = random.choices(range(self.start_num, self.stop_num), k=self.nums)
        return lstints

    # @staticmethod
    # def __randint():
    #     resultlst = random.choices(range(self.start_num, self.stop_num), k=self.nums)

lst = RandomInt()
RandomInt.nums += 10
new_lst = lst.randints()


class Coordinates:

    def __init__(self,lst1):
        self.lst1 = lst1

    def print_coods(self):
        for i in range(0,len(self.lst1),2):
            x = self.lst1[i]
            y = self.lst1[i+1]
            print('({},{})'.format(x,y))

coods = Coordinates(new_lst)
print(coods.print_coods())





# RandomInt的这几个变量，写死了，是不是可以做到可以设置



